package com.epam.training.myspringioc.reader;

import java.util.Map;

import com.epam.training.myspringioc.BeanDefinition;
import com.epam.training.myspringioc.parsers.ParserTypes;

/**
 * 
 * @author bogdan
 *
 */
public interface XmlBeanDefinitionReader {
	/**
	 * Load bean configure file
	 * 
	 * @param configName
	 */
	void loadBeanDefinitions(String configName);

	/**
	 * 
	 * @param validating
	 */
	void setValidating(boolean validating);

	/**
	 * 
	 * @param parserType
	 */
	void setParserType(ParserTypes parserType);

	/**
	 * 
	 * @return Beans property and definition
	 */
	Map<String, BeanDefinition> getBeanDefinition();
}
